home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Sample Code / Image Compression Mgr / PictMovier / pictmovier.r < prev    next >
Encoding:
Text File  |  1992-06-05  |  3.4 KB  |  225 lines  |  [TEXT/MPS ]

  1. #include    "Types.r"
  2.  
  3. include "StdCompression.rsrc";
  4.  
  5.  
  6. resource 'MENU' (128) {
  7.     128,
  8.     textMenuProc,
  9.     0x7FFFFFFD,
  10.     enabled,
  11.     apple,
  12.     {    /* array: 2 elements */
  13.         /* [1] */
  14.         "About PictMovier…", noIcon, noKey, noMark, plain,
  15.         /* [2] */
  16.         "-", noIcon, noKey, noMark, plain
  17.     }
  18. };
  19.  
  20. resource 'MENU' (130) {
  21.     130,
  22.     textMenuProc,
  23.     0x7FFFFFBD,
  24.     enabled,
  25.     "Edit",
  26.     {    /* array: 6 elements */
  27.         /* [1] */
  28.         "Undo", noIcon, "Z", noMark, plain,
  29.         /* [2] */
  30.         "-", noIcon, noKey, noMark, plain,
  31.         /* [3] */
  32.         "Cut", noIcon, "X", noMark, plain,
  33.         /* [4] */
  34.         "Copy", noIcon, "C", noMark, plain,
  35.         /* [5] */
  36.         "Paste", noIcon, "V", noMark, plain,
  37.         /* [6] */
  38.         "Clear", noIcon, noKey, noMark, plain
  39.     }
  40. };
  41.  
  42. resource 'MENU' (129) {
  43.     129,
  44.     textMenuProc,
  45.     0x7FFFFFF7,
  46.     enabled,
  47.     "File",
  48.     {    /* array: 5 elements */
  49.         /* [1] */
  50.         "Open…", noIcon, "O", noMark, plain,
  51.         /* [2] */
  52.         "Close", noIcon, "W", noMark, plain,
  53.         /* [3] */
  54.         "Save…", noIcon, "S", noMark, plain,
  55.         /* [4] */
  56.         "-", noIcon, noKey, noMark, plain,
  57.         /* [5] */
  58.         "Quit", noIcon, "Q", noMark, plain
  59.     }
  60. };
  61.  
  62. resource 'MENU' (131) {
  63.     131,
  64.     textMenuProc,
  65.     0x7FFFFFAF,
  66.     enabled,
  67.     "PictMovier",
  68.     {    /* array: 8 elements */
  69.         /* [1] */
  70.         "Compression…", noIcon, "K", noMark, plain,
  71.         /* [2] */
  72.         "Number of Stages…", noIcon, noKey, noMark, plain,
  73.         /* [3] */
  74.         "Oversample 2X", noIcon, "2", check, plain,
  75.         /* [4] */
  76.         "Backwards", noIcon, "B", noMark, plain,
  77.         /* [5] */
  78.         "-", noIcon, noKey, noMark, plain,
  79.         /* [6] */
  80.         "Preview Stage…", noIcon, noKey, noMark, plain,
  81.         /* [7] */
  82.         "-", noIcon, noKey, noMark, plain,
  83.         /* [8] */
  84.         "Do Transform…", noIcon, "M", noMark, plain
  85.     }
  86. };
  87.  
  88. resource 'DLOG' (128) {
  89.     {40, 40, 186, 326},
  90.     dBoxProc,
  91.     visible,
  92.     goAway,
  93.     0x0,
  94.     128,
  95.     ""
  96. };
  97.  
  98. resource 'DLOG' (129) {
  99.     {40, 40, 186, 326},
  100.     dBoxProc,
  101.     visible,
  102.     goAway,
  103.     0x0,
  104.     129,
  105.     ""
  106. };
  107.  
  108. resource 'DITL' (128) {
  109.     {    /* array DITLarray: 5 elements */
  110.         /* [1] */
  111.         {116, 210, 136, 268},
  112.         Button {
  113.             enabled,
  114.             "OK"
  115.         },
  116.         /* [2] */
  117.         {85, 210, 105, 268},
  118.         Button {
  119.             enabled,
  120.             "Cancel"
  121.         },
  122.         /* [3] */
  123.         {29, 194, 45, 269},
  124.         EditText {
  125.             enabled,
  126.             ""
  127.         },
  128.         /* [4] */
  129.         {68, 23, 86, 94},
  130.         CheckBox {
  131.             enabled,
  132.             "Linear"
  133.         },
  134.         /* [5] */
  135.         {16, 21, 56, 171},
  136.         StaticText {
  137.             disabled,
  138.             "Number of Stages of Metamorphis :"
  139.         }
  140.     }
  141. };
  142.  
  143. resource 'DITL' (129) {
  144.     {    /* array DITLarray: 4 elements */
  145.         /* [1] */
  146.         {114, 210, 134, 268},
  147.         Button {
  148.             enabled,
  149.             "OK"
  150.         },
  151.         /* [2] */
  152.         {84, 210, 104, 268},
  153.         Button {
  154.             enabled,
  155.             "Cancel"
  156.         },
  157.         /* [3] */
  158.         {8, 9, 45, 167},
  159.         StaticText {
  160.             disabled,
  161.             "Choose Metamorphis stage to preview :"
  162.         },
  163.         /* [4] */
  164.         {27, 191, 43, 266},
  165.         EditText {
  166.             enabled,
  167.             ""
  168.         }
  169.     }
  170. };
  171.  
  172. resource 'DITL' (140) {
  173.     {    /* array DITLarray: 2 elements */
  174.         /* [1] */
  175.         {222, 276, 242, 334},
  176.         Button {
  177.             enabled,
  178.             "Oh"
  179.         },
  180.         /* [2] */
  181.         {7, 63, 213, 357},
  182.         StaticText {
  183.             disabled,
  184.             "^0^1^2^3"
  185.         }
  186.     }
  187. };
  188.  
  189. resource 'SIZE' (0) {
  190.     reserved,
  191.     ignoreSuspendResumeEvents,
  192.     reserved,
  193.     cannotBackground,
  194.     notMultiFinderAware,
  195.     backgroundAndForeground,
  196.     dontGetFrontClicks,
  197.     ignoreChildDiedEvents,
  198.     is32BitCompatible,
  199.     notHighLevelEventAware,
  200.     onlyLocalHLEvents,
  201.     notStationeryAware,
  202.     dontUseTextEditServices,
  203.     reserved,
  204.     reserved,
  205.     reserved,
  206.     2000000,
  207.     500000
  208. };
  209.  
  210. resource 'ALRT' (140) {
  211.     {39, 41, 294, 409},
  212.     140,
  213.     {    /* array: 4 elements */
  214.         /* [1] */
  215.         OK, visible, sound1,
  216.         /* [2] */
  217.         OK, visible, sound1,
  218.         /* [3] */
  219.         OK, visible, sound1,
  220.         /* [4] */
  221.         OK, visible, sound1
  222.     }
  223. };
  224.  
  225.